package com.ruoyi.system.designpattern.observer;

/**
 * @author created by Zhou Zongbo on 2025/8/28.
 */public class CustomerObserver implements Observer{

    @Override
    public void priceUpdate(Product product) {
        System.out.printf("%s 商品价格变化%s", product.getName(), product.getPrice());
    }
}
